package com.grt.login.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author recivejt 前台控制层
 */
@Controller
@RequestMapping(value = "/view")
public class ViewController {

	@GetMapping("/about")
	public String about() {
		return "about";
	}

	@GetMapping("/contact")
	public String contact() {
		return "contact";
	}

	@GetMapping("/article")
	public String article() {
		return "article";
	}

	@GetMapping("/service")
	public String service() {
		return "service";
	}

}
